#ifndef _TRIANGULATION_H_
#define _TRIANGULATION_H_

#include "triangle_list.h"
#include "point_list.h"
#include "edge_list.h"

//minimal number of points to start triangulation
#define MIN_POINTS 3

#define TRUE 1
#define FALSE 0

TriangleList * triangulation(PointList * pl, EdgeList * convexHull);
Triangle * findFirstTriangle(PointList * pl);
Triangle * findTriangle(Point * v, Point * a, Point * b, PointList * pl);
void findConvexHull(Point * a, Point * b, EdgeList * convexHull, TriangleList * tList);

#endif